package com.didispace.chapter36.controller;

import com.didispace.chapter36.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

    @Autowired
    private IUserService userService;

    @PostMapping("save1")
    public void save1() {
        userService.save1();
    }

}
